package com.netease.pris.activity;

import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnCreateContextMenuListener;
import android.widget.AdapterView.AdapterContextMenuInfo;
import com.netease.pris.atom.u;
import java.util.LinkedList;

class o
  implements View.OnCreateContextMenuListener
{
  o(MainGridActivity paramMainGridActivity)
  {
  }

  public void onCreateContextMenu(ContextMenu paramContextMenu, View paramView, ContextMenu.ContextMenuInfo paramContextMenuInfo)
  {
    int i = ((AdapterView.AdapterContextMenuInfo)paramContextMenuInfo).position;
    u localu = (u)MainGridActivity.c(this.a).get(i);
    if (localu != null)
      paramContextMenu.setHeaderTitle(localu.U());
    if (localu.V().equals("-1"))
    {
      paramContextMenu.setHeaderTitle(2131361868);
      paramContextMenu.add(0, 256, 0, 2131361876).setOnMenuItemClickListener(new bt(this, localu, i, paramView));
    }
    while (true)
    {
      return;
      paramContextMenu.add(0, 256, 0, 2131361876).setOnMenuItemClickListener(new bu(this, localu, i, paramView));
      paramContextMenu.add(0, 257, 0, 2131361877).setOnMenuItemClickListener(new bp(this, localu, i, paramView));
      if (!localu.S())
        paramContextMenu.add(0, 258, 0, 2131361878).setOnMenuItemClickListener(new bq(this, localu, i, paramView));
      paramContextMenu.add(0, 259, 0, 2131361879).setOnMenuItemClickListener(new br(this, localu, i, paramView));
      if (localu.t())
      {
        paramContextMenu.add(0, 260, 0, 2131362325).setOnMenuItemClickListener(new bs(this, localu, i, paramView));
        continue;
      }
      paramContextMenu.add(0, 261, 0, 2131362324).setOnMenuItemClickListener(new az(this, localu, i, paramView));
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.o
 * JD-Core Version:    0.6.0
 */